import App from './App'
// #ifndef VUE3
import Vue from 'vue'
import sysContainer from './components/sysContainer/sysContainer.vue'
import uView from 'uview-ui';
import showModal from '@/components/lxx-showModal/modal.js'  
import {showModal2} from './util/common.js'
Vue.prototype.$showModal = showModal
Vue.prototype.$showModal2 = showModal2
Vue.use(uView);
 //先导入封装好的request文件
Vue.config.productionTip = false
App.mpType = 'app'

Vue.component('sys-container', sysContainer)
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif